package com.ruoyi.resume.domain.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.YearMonth;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "工作经历实体类")
public class WorkExperiencePlus {

    @ApiModelProperty(value = "姓名", example = "zhj")
    private String name;

    @ApiModelProperty(value = "公司名称", example = "阿里巴巴")
    private String companyName;

    @ApiModelProperty(value = "职位", example = "Java开发工程师")
    private String jobTitle;

    @JsonFormat(pattern = "yyyy-MM")
    @ApiModelProperty(value = "起始时间", example = "2020-06")
    private YearMonth startTime;

    @JsonFormat(pattern = "yyyy-MM")
    @ApiModelProperty(value = "终止时间（如果是9999-01，则表示至今）", example = "2022-12")
    private YearMonth endTime;

    @ApiModelProperty(value = "项目名称", example = "电商平台后端开发")
    private String projectName;

    @ApiModelProperty(value = "项目描述", example = "负责电商平台订单模块的后端开发与优化，提升了系统的稳定性和性能。")
    private String projectDescription;

    @ApiModelProperty(value = "部门", example = "技术研发部")
    private String department;
}